package biz.bbtec.sbm.email.factory;

import biz.bbtec.sbm.email.service.EmailAlarmService;


public class EmailAlarmFactory {
	
	private static EmailAlarmFactory instance;
	private EmailAlarmService EmailAlarm;

	private EmailAlarmFactory() {
		EmailAlarm = new EmailAlarmService();
	}

	public static synchronized EmailAlarmFactory getInstance() {
		if (instance == null) {
			instance = new EmailAlarmFactory();
		}
		return instance;
	}

	public EmailAlarmService createEmailAlarmService() {
		return EmailAlarm;
	}
}
